From 07e61e09ab63b7b27ba6cb08aa03490aef27baa0 Mon Sep 17 00:00:00 2001 From: Siebrand Mazeland Date: Tue, 28 Aug 2012 01:38:19 +0200 Subject: [PATCH] Use numParams() where possible. Change-Id: I2ba4fb7dad599ccd04fe69ab033ff72c1bacfe3e --- includes/Skin.php | 4 ++-- includes/specials/SpecialDeletedContributions.php | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/includes/Skin.php b/includes/Skin.php index 5af6aec660..0ab46aea89 100644 --- a/includes/Skin.php +++ b/includes/Skin.php @@ -437,7 +437,7 @@ abstract class Skin extends ContextSource { if ( !empty( $allCats['normal'] ) ) { $t = $embed . implode( "{$pop}{$embed}" , $allCats['normal'] ) . $pop; - $msg = $this->msg( 'pagecategories', count( $allCats['normal'] ) )->escaped(); + $msg = $this->msg( 'pagecategories' )->numParams( count( $allCats['normal'] ) )->escaped(); $linkPage = wfMessage( 'pagecategorieslink' )->inContentLanguage()->text(); $s .= '